package com.lwj.entity;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

public class UserTeam {
    private Integer id;

    private Integer userId;

    private Integer teamId;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date joinTime;

    @JsonFormat(pattern = "yyyy-MM-dd")
    private Date createTime;

    private Integer role;

    public Integer getRole() {
        return role;
    }

    public void setRole(Integer role) {
        this.role = role;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getUserId() {
        return userId;
    }

    public void setUserId(Integer userId) {
        this.userId = userId;
    }

    public Integer getTeamId() {
        return teamId;
    }

    public void setTeamId(Integer teamId) {
        this.teamId = teamId;
    }

    public Date getJoinTime() {
        return joinTime;
    }

    public void setJoinTime(Date joinTime) {
        this.joinTime = joinTime;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}